[INFO] cloning repository https://github.com/naleba97/gbsabiru
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naleba97/gbsabiru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaleba97%2Fgbsabiru", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaleba97%2Fgbsabiru'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a8d52bf16286bb6526852c4ffa3616f7d5c07b7
[INFO] building naleba97/gbsabiru against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaleba97%2Fgbsabiru" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/naleba97/gbsabiru on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/naleba97/gbsabiru
[INFO] finished tweaking git repo https://github.com/naleba97/gbsabiru
[INFO] tweaked toml for git repo https://github.com/naleba97/gbsabiru written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/naleba97/gbsabiru already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 331e5956d76aa9c14e6870192e19f703d1708144cb02fa8101a2a129e484d7a4
[INFO] running `Command { std: "docker" "start" "-a" "331e5956d76aa9c14e6870192e19f703d1708144cb02fa8101a2a129e484d7a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "331e5956d76aa9c14e6870192e19f703d1708144cb02fa8101a2a129e484d7a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "331e5956d76aa9c14e6870192e19f703d1708144cb02fa8101a2a129e484d7a4", kill_on_drop: false }`
[INFO] [stdout] 331e5956d76aa9c14e6870192e19f703d1708144cb02fa8101a2a129e484d7a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97d4ff306ed19b18df0727c2c0338d8d8032e0ae2cabc576234715a49678df5c
[INFO] running `Command { std: "docker" "start" "-a" "97d4ff306ed19b18df0727c2c0338d8d8032e0ae2cabc576234715a49678df5c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-bigint v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling num-complex v0.3.0
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling num v0.3.0
[INFO] [stderr]    Compiling gbsabiru v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::core::regfile::Register::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::regfile::Register::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/cpu.rs:125:43
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 self.regfile.set_flag(HL, (reg_src + offset_i8) as u16);
[INFO] [stdout]     |                              --------     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `u16`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/core/regfile.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn set_flag(&mut self, reg: Register, val: bool) {
[INFO] [stdout]     |            ^^^^^^^^                           ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:79:20
[INFO] [stdout]    |
[INFO] [stdout] 79 |             AF => (self.get_8reg(A), self.get_8reg(F)),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 79 |             AF => (self.get_8reg(A).into(), self.get_8reg(F)),
[INFO] [stdout]    |                                    +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:79:38
[INFO] [stdout]    |
[INFO] [stdout] 79 |             AF => (self.get_8reg(A), self.get_8reg(F)),
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 79 |             AF => (self.get_8reg(A), self.get_8reg(F).into()),
[INFO] [stdout]    |                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:80:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |             BC => (self.get_8reg(B), self.get_8reg(C)),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 80 |             BC => (self.get_8reg(B).into(), self.get_8reg(C)),
[INFO] [stdout]    |                                    +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:80:38
[INFO] [stdout]    |
[INFO] [stdout] 80 |             BC => (self.get_8reg(B), self.get_8reg(C)),
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 80 |             BC => (self.get_8reg(B), self.get_8reg(C).into()),
[INFO] [stdout]    |                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:81:20
[INFO] [stdout]    |
[INFO] [stdout] 81 |             DE => (self.get_8reg(D), self.get_8reg(E)),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 81 |             DE => (self.get_8reg(D).into(), self.get_8reg(E)),
[INFO] [stdout]    |                                    +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:81:38
[INFO] [stdout]    |
[INFO] [stdout] 81 |             DE => (self.get_8reg(D), self.get_8reg(E)),
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 81 |             DE => (self.get_8reg(D), self.get_8reg(E).into()),
[INFO] [stdout]    |                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |             HL => (self.get_8reg(H), self.get_8reg(L)),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 82 |             HL => (self.get_8reg(H).into(), self.get_8reg(L)),
[INFO] [stdout]    |                                    +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:82:38
[INFO] [stdout]    |
[INFO] [stdout] 82 |             HL => (self.get_8reg(H), self.get_8reg(L)),
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 82 |             HL => (self.get_8reg(H), self.get_8reg(L).into()),
[INFO] [stdout]    |                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |             SP => (self.get_8reg(SP_HIGH), self.get_8reg(SP_LOW)),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 83 |             SP => (self.get_8reg(SP_HIGH).into(), self.get_8reg(SP_LOW)),
[INFO] [stdout]    |                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:83:44
[INFO] [stdout]    |
[INFO] [stdout] 83 |             SP => (self.get_8reg(SP_HIGH), self.get_8reg(SP_LOW)),
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 83 |             SP => (self.get_8reg(SP_HIGH), self.get_8reg(SP_LOW).into()),
[INFO] [stdout]    |                                                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |             PC => (self.get_8reg(PC_HIGH), self.get_8reg(PC_LOW)),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 84 |             PC => (self.get_8reg(PC_HIGH).into(), self.get_8reg(PC_LOW)),
[INFO] [stdout]    |                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/regfile.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |             PC => (self.get_8reg(PC_HIGH), self.get_8reg(PC_LOW)),
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 84 |             PC => (self.get_8reg(PC_HIGH), self.get_8reg(PC_LOW).into()),
[INFO] [stdout]    |                                                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gbsabiru` due to 14 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "97d4ff306ed19b18df0727c2c0338d8d8032e0ae2cabc576234715a49678df5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97d4ff306ed19b18df0727c2c0338d8d8032e0ae2cabc576234715a49678df5c", kill_on_drop: false }`
[INFO] [stdout] 97d4ff306ed19b18df0727c2c0338d8d8032e0ae2cabc576234715a49678df5c
